/*
 * (C) APUE
 * test if can lseek stdout/stdin 
 */

#include "apue.h"

int main()
{
	if (lseek(STDIN_FILENO, 0, SEEK_CUR) == -1)
		printf("cannot seek!\n");
	else
		printf("can seek!\n");

	return 0;
}
